﻿using System;

namespace Ecobee.Net
{
	/// <summary>
	/// An error occured processing a function. Ensure required properties are provided.
	/// </summary>
	public class FunctionError : ResponseCodeException
	{
		/// <summary>
		/// Initializes a new instance of the Ecobee.Net.FunctionError class.
		/// </summary>
		public FunctionError(Exception innerException)
			: base(11, innerException, "An error occured processing a function. Ensure required properties are provided.")
		{
		}
	}
}
